package com.cms.controllers.admin;

import com.cms.controllers.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin/dashboard")
public class DashboardController extends BaseController {

    @GetMapping("")
    public String index(Model viewModel) {
        //viewModel.addAttribute("active","dashboard");
        return "admin/dashboard";
    }
}
